﻿using System.Collections.Generic;
using Microsoft.Owin;
using Owin;
using Hangfire;
using Hangfire.Dashboard;

[assembly: OwinStartup(typeof(Identification.Importer.Job.Startup))]

namespace Identification.Importer.Job
{
    public class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            // 有关如何配置应用程序的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkID=316888
            app.UseHangfireDashboard("", new DashboardOptions
            {
                AppPath = "/",
                Authorization = new List<IDashboardAuthorizationFilter>()
            });
        }
    }
}